import {BarChart} from "@/pages/Home/components/BarChat";

export const Home = () => {
    return (
        <div>
            <BarChart
                title={'三个框架满意度'}
                xData={['Vue', 'React', 'Angular']}
                sData={[2000, 5000, 1000]}/>

            <BarChart
                title={'三个框架使用数量'}
                xData={['Vue', 'React', 'Angular']}
                sData={[200, 500, 100]}
                style={{width: '500px', height: '400px'}}/>
        </div>
    )

}
